/**
 * 演示组件
 */
import React, { Component } from "react";
import Styles from "./index.less";
import PropTypes from "prop-types";
export default class HelloWorld extends Component {
  constructor(props) {
    super(props);
    const that = this;
    that.state = {};
  }
  // 参数校验
  static propTypes = {
    msg: PropTypes.number // 提示信息
  };
  render() {
    return (
        <div className={Styles["m-hello-world"]}>
          <p>{this.props.msg}</p>
        </div>
    )
  }
}
